﻿<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<title>管理中心</title>
		<meta name="robots" content="noindex, nofollow">
		<link href="css/main.css" rel="stylesheet" type="text/css" />
		<link href="/javascripts/jquery-ui/jquery-ui.min.css" rel="stylesheet" type="text/css" />
		<link rel="stylesheet" type="text/css" href="//unpkg.com/element-ui/lib/theme-default/index.css" />

		<script type="text/javascript" src="/javascripts/jquery-2.1.4.js"></script>
		<script src="/js/vue.js"></script>
		<script src="https://unpkg.com/element-ui/lib/index.js"></script>
		<script type="text/javascript" src="/javascripts/jquery-ui/jquery-ui.min.js"></script>
		<script src="/javascripts/jquery.bgColorSelector.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" src="/javascripts/jquery.cookie.js"></script>

		<!--[if lt IE 9]>
			<script src="js/css3-mediaqueries.js"></script>
		<![endif]-->
	</head>

	<body style="background-color: #31b4e1; overflow:hidden;">
		<div class="admin-header clearfix">
			<!-- 颜色选择层 bylu -->
			<div class="bgSelector"></div>
			<div class="admin-logo">
				<a href="main.html" data-url="index.html" data-param="index|main" target="workspace"><img src="images/logo.png" /></a>
				<div class="foldsider"><i class="icon icon-indent-left"></i></div>
			</div>
			<div class="module-menu" id="module-menu">
				
			</div>

			<div class="admin-header-right">
				<div class="manager">
					<dl>
						<dt class="name">test</dt>
						<dd class="group">超级管理员</dd>
					</dl>
					<span class="avatar">
				<form  action="index.php" id="fileForm" method="post"  enctype="multipart/form-data"  runat="server" >
					<input name="img" type="file" class="admin-avatar-file" id="_pic" title="设置管理员头像">
				</form>
				<img nctype="admin_avatar" src="images/admin.png" />
			</span>
					<i class="arrow" id="admin-manager-btn"></i>
					<div class="manager-menu">
						<div class="title">
							<h4>最后登录</h4>
							<a href="privilege.php?act=edit&id=41" target="workspace" class="edit_pwd">修改密码</a>
						</div>
						<div class="login-date">
							<strong>2016-11-10 10:11:58</strong>
							<span>(IP:111.164.211.89)</span>
						</div>
						<div class="title mt10">
							<h4>常用操作</h4>
							<a href="javascript:;" class="add_nav">添加菜单</a>
						</div>
						<div class="quick_link">
							<ul>
							</ul>
						</div>
					</div>
				</div>
				<div class="operate">
					<li style="position: relative;">
						<a href="javascript:void(0);" class="msg" title="查看消息">&nbsp;</a>
						<!-- 消息通知 bylu -->
						<div id="msg_Container">
							<h3>消息通知</h3>
							<div class="msg_content"></div>
						</div>
					</li>
					<i></i>
					<li>
						<a href="https://www.yiqun1688.com/" target="_blank" class="home" title="新窗口打开商城首页">&nbsp;</a>
					</li>
					<i></i>
					<li>
						<a href="javascript:void(0);" class="sitemap" title="查看全部管理菜单">&nbsp;</a>
					</li>
					<i></i>
					<li>
						<a href="javascript:void(0);" id="trace_show" class="style-color" title="给管理中心换个颜色">&nbsp;</a>
					</li>
					<i></i>
					<li>
						<a href="index.php?act=clear_cache" class="clear" target="workspace" title="清除缓存">&nbsp;</a>
					</li>
					<i></i>
					<li>
						<a href="privilege.php?act=logout" class="prompt" title="安全退出管理中心">&nbsp;</a>
					</li>
				</div>
			</div>
		</div>

		<!-- 快捷菜单弹窗 bylu -->
		<div id="allMenu" style="display: none;">
			<div class="admincp-map ui-widget-content ui-draggable" nctype="map_nav" id="draggable">
				<div class="title ui-widget-header ui-draggable-handle" style="border: none;background: #fff;">
					<h3>管理中心全部菜单</h3>
					<h5>切换显示全部管理菜单，通过点击勾选可添加菜单为管理常用操作项，最多添加10个</h5>
					<span><a nctype="map_off" onclick="$('#allMenu').hide();" href="JavaScript:void(0);">X</a></span></div>
				<div class="content">
					<ul class="admincp-map-nav">
						<li class="">
							<a href="javascript:void(0);" data-param="map-system">平台</a>
						</li>
						<li class="selected">
							<a href="javascript:void(0);" data-param="map-shop">商城</a>
						</li>
						<li class="">
							<a href="javascript:void(0);" data-param="map-cms">资源</a>
						</li>
					</ul>
					<div class="admincp-map-div" data-param="map-system" style="display: none;">

					</div>

				</div>
			</div>
		</div>

		<div class="admin-main start_home">
			<div class="top-border"></div>
			<div class="admin-main-left">
				<div class="admincj_nav" id="admincj_nav">
					<el-row class="tac">
						<el-menu default-active="http://www.yiqun1688.com" class="el-menu-vertical-demo" @open="handleOpen" @close="handleClose" theme="dark" @select="OpenMyUrl">
							<div v-for="value in datas">
								<div class="tit" v-if="value.names[0].name.length == 0">
									<a href="javascript:void(0);" :data-url="value.url" data-param="index|main" target="workspace">
										<el-menu-item :index="value.url" ><i :class="value.icon"></i>{{value.title}}</el-menu-item>
									</a>
								</div>
								
								<div class="tit" v-else>
									<a href="javascript:void(0);" data-param="index|main" target="workspace"><i class="nav_icon i_home"></i>
										<el-submenu :index="value.index">
											<template slot="title"><i :class="value.icon"></i>{{value.title}}</template>
											<el-submenu :index="val.index" v-for="val in value.names">
												<template slot="title"><i :class="val.icon"></i>{{val.name}}</template>
												<el-menu-item v-for="valu in val.nameitem" :index="valu.dataurl" :data-url="valu.dataurl" ><i :class="valu.icon"></i>{{valu.detail}}</el-menu-item>
											</el-submenu>
										</el-submenu>
									</a>
								</div>
							</div>
						</el-menu>
					</el-row>

				</div>
			</div>
			<div class="admin-main-right">
				<iframe id="workspace" name="workspace" frameborder="0" width="100%" height="95%" scrolling="yes"></iframe>
			</div>
		</div>
		<script type="text/javascript" src="js/adminIndex.js"></script>
		<script type="text/javascript">
			var bodyWidth = $("body").width();
			if(bodyWidth < 1204) {
				$("#workspace").height("92%");
			}
		</script>
	</body>

</html>